Returns a new KeyPressed instance built from the current state of this builder.
a new KeyPressed instance
KeyPressed